<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!--要判断用户是否收藏了这个文章	  -->
<span id="saveStatus_${article.articleId}">
<c:set var="isSaved" value="false" />
<c:if test="${loginFans.fansId==-1}">
<a href="saveArticle.html?id=${article.articleId}&decorator=simple&confirm=true&height=300&width=500" class="thickbox" title="收藏文章">我要收藏</a>
</c:if>	
<c:if test="${loginFans.fansId!=-1}">	
<c:forEach items="${article.savedFansSet}" var="f">
<c:if test="${f.fansId==loginFans.fansId}">
  <c:set var="isSaved" value="true" />
</c:if>
</c:forEach>			
<c:if test="${isSaved==false}">
<a href="saveArticle.html?id=${article.articleId}&decorator=simple&confirm=true&height=300&width=500" class="thickbox" title="收藏文章">我要收藏</a>
</c:if>
<c:if test="${isSaved==true}">
您已收藏
</c:if>
</c:if>
</span>
&nbsp;已有<span id="saveCount_${article.articleId}">${article.savedNum}</span>人收藏